package Entity;
import java.io.Serializable;
import java.sql.Date;


/**
 * this entity contain the request form set the request status, initiator details
 * and send it the data to the DB
 * @author aviat
 *
 */
public class Request implements Serializable{
	
	
	private static final long serialVersionUID = 1L;
	//public enum Status{SUSSPENDED,ACTIVE,POSTPONED,CLOSED,WAITING}
	private int request_id= 0;
	private String status;
	//private Date creation_date= null;
	private ReqForm form;
	private Integer initiator;
	private String current_stage=null;
	
	public  Request() {
		form = new ReqForm();
		initiator = new Integer(0);
	}
	
	public ReqForm getForm() {
		return form;
	}
	
	public String getCurrent_stage() {
		return current_stage;
	}
	public int getRequest_id() {
		return request_id;
	}
	public int getInitiator(){
		return initiator;
	}

	public void setCurrent_stage(String current_stage) {
		this.current_stage = current_stage;
	}
	public void setForm(ReqForm form) {
		this.form = form;
	}
	public void setRequest_id(int request_id) {
		this.request_id = request_id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setInitiator(Integer initiator) {
		this.initiator = initiator;
	}
	
}
	


